package com.ruoyi.bl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 品牌配置，用于管理供应商供应的商品对象 gas_brand
 * 
 * @author ruoyi
 * @date 2023-08-19
 */
public class BlBrand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 品牌表 */
    private Long brandId;

    private Long deptId;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String name;

    /** 品牌logo */
    @Excel(name = "品牌logo")
    private String logo;

    /** 品牌描述 */
    @Excel(name = "品牌描述")
    private String desc;

    /** 品牌地址 */
    @Excel(name = "品牌地址")
    private String url;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 品牌分类 */
    @Excel(name = "品牌分类")
    private String catName;

    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getName() 
    {
        return name;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setDesc(String desc) 
    {
        this.desc = desc;
    }

    public String getDesc() 
    {
        return desc;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setCatName(String catName) 
    {
        this.catName = catName;
    }

    public String getCatName() 
    {
        return catName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("brandId", getBrandId())
            .append("deptId", getDeptId())
            .append("name", getName())
            .append("logo", getLogo())
            .append("desc", getDesc())
            .append("url", getUrl())
            .append("sort", getSort())
            .append("catName", getCatName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
